package com.kayt.cyberBar.cuser.business.dao;

import java.sql.SQLException;
import java.util.LinkedHashMap;
import java.util.List;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cuser.business.entity.po.BCyberBaseTaskReport;

public interface ICyberBaseTaskReportDao {

	public Long addReport(BCyberBaseTaskReport report) throws SQLException;

	public void updateReport(BCyberBaseTaskReport report) throws SQLException;

	public int deleteReport(String report);

	public BCyberBaseTaskReport getReport(String reportId);

	public BCyberBaseTaskReport getReportByCode(String code) throws SQLException;

	public void batchInsert(List<BCyberBaseTaskReport> sentList);

	public PageData<BCyberBaseTaskReport> getReportList(int pageNum, int pageSize, String hql, Object[] params,
			LinkedHashMap<String, String> reportMap) throws SQLException;

	public List getReportListByHql(int pageNum, int pageSize, String hql, Object[] params) throws SQLException;

}
